package com.yuxi.Dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.InformationQuality;
import com.yuxi.Entity.TaskCompletion;



/**
 *信息录入和收集质量等级操作接口
 * @author hunter
 * @version 1.0
 * 2016/07/18
 */


@Repository
public interface InformationQualityDao {
	/**
	 * 通过iQualityId获取InformationQuality
	 * @param 	iQualityId
	 * @return InformationQuality 
	 * */
	public InformationQuality getIQuality(Integer iQualityId);
	/**
	 * 添加一个iQuality  并返回添加的实体类
	 * @param 	iQualityId
	 * @return InformationQuality 
	 * */
	public InformationQuality addIQuality(InformationQuality iQuality);
	/**
	 * 删除一个iQuality  并返回删除的实体类
	 * @param 	iQuality InformationQuality实体类
	 * @return InformationQuality 
	 * */
	public void deleteIQuality(InformationQuality iQuality);
	/**
	 * 修改一个iQuality  并返回修改的实体类
	 * @param  iQuality  InformationQuality实体类
	 * @return InformationQuality 
	 * */
	public void modifly(InformationQuality iQuality);	
	/**
	 * 获取所有信息和质量等级
	 * @param 	
	 * @return List<InformationSort> 
	 * */
	public List<InformationQuality> getAllInformationQuality();
	
}
